package com.yztc.yidoutang.fragment.sousuo_fragment;

import com.yztc.yidoutang.bean.HotSearchBean;

import java.util.List;

import rx.Subscriber;

/**
 * Created by My on 2016/10/18.
 */

public class SouSuoContract {
    public interface View{
        //获取指南数据成功执行的方法
        public void onGetHotSearchSuccess(List<String> hotSearchList);

        //获取指南数据失败执行的方法
        public void onGetHotSearchFail(String msg);
    }
    public interface Presenter{
        public void getHotSearchData();
    }
    public interface Model{
        public void getHotSearchData(Subscriber<HotSearchBean> subscriber);
    }
}
